public class AreaCalculator{
	public int Area(Rectangle[] shapes)
	{
		int area = 0;
		for(int i = 0; i < shapes.length; i++)
		{
			area += shapes[i].getWidth() * shapes[i].getHeigth();
		}
		return area;
	}
	
	public int Area(Circle[] shapes)
	{
		int area = 0;
		for(int i = 0; i<shapes.length; i++){
			area += (int) (shapes[i].getRadius() * shapes[i].getRadius()*Math.PI);
		}
		return area;
	}
}
